package com.xci.core.setting;

import com.xci.core.internal.Const;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * xss配置参数
 *
 * @author 吕艳阳
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "xci.xss")
public class XssSetting {
    /**
     * 是否启用
     */
    private String enabled = "false";

    /**
     * 拦截地址
     */
    private String urlPatterns = Const.EMPTY;

    /**
     * 排除地址
     */
    private String excludes = Const.EMPTY;
}